import { Utility } from "@/libs/utility";

export const TestGroupingFormConfig = [
  {
    fieldName: "id",
    fieldCNName: "",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "",
  },
  {
    fieldName: "name",
    fieldCNName: "分组名称",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    rules: {
      required: true,
    },
    span: 2,
  },

  {
    fieldName: "type",
    fieldCNName: "分组类型",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "select",
    rules: {
      required: true,
    },
    itemList: Utility.getDictList("group_type"),
    span: 2,
  },
  {
    fieldName: "description",
    fieldCNName: "分组描述",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "textarea",
  },
];
